package com.dc.business.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Auther: 小飞
 * @Date: 2019/11/1 17:04
 * @Description:
 */


@Data
@ApiModel(value = "深加工分析模块Model")
public class PlanDay {

    @ApiModelProperty(value = "")
    private int detailId;

    @ApiModelProperty(value = "班次")
    private int classId;

    @ApiModelProperty(value = "班次名称")
    private int className;

    @ApiModelProperty(value = "外键计划id")
    private String name;

    @ApiModelProperty(value = "外键设备id")
    private int fkDeviceId;

    @ApiModelProperty(value = "设备阶段")
    private int deviceStage;

    @ApiModelProperty(value = "规格")
    private String specifications;

    @ApiModelProperty(value = "计划开始时间")
    private Date planStartTime;

    @ApiModelProperty(value = "计划完成时间")
    private Date planEndTime;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "上砖数")
    private int brickNum;

    @ApiModelProperty(value = "分级产量")
    private int levelNum;

    @ApiModelProperty(value = "损耗数")
    private int errorNum;

    @ApiModelProperty(value = "合格数")
    private int qualityNum;

    @ApiModelProperty(value = "一级数")
    private int level1Num;

    @ApiModelProperty(value = "优等数")
    private int firstRateNum;

    @ApiModelProperty(value = "生产时间")
    private int productionTime;

    @ApiModelProperty(value = "加工数量")
    private int machiningNum;

    @ApiModelProperty(value = "优等率")
    private double excellenceRate;

    @ApiModelProperty(value = "故障/空闲时间")
    private int failureTime;

    @ApiModelProperty(value = "累计完成数量")
    private int cumulativeCompletionNum;

    @ApiModelProperty(value = "累计未完成数量")
    private int cumulativeNoCompletionNum;

    @ApiModelProperty(value = "生产设备")
    private String deviceName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人id")
    private int createUserId;

    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    @ApiModelProperty(value = "更新人id")
    private int updateUserId;

    @ApiModelProperty(value = "更新人名称")
    private String updateUserName;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "成品率%")
    private double finishedProduct;

    @ApiModelProperty(value = "订单成品率")
    private double orderCompletionRate;

    @ApiModelProperty(value = "工时延后/H")
    private int workingHoursDelay;

    @ApiModelProperty(value = "实际产能/H")
    private int actualCapacity;

    @ApiModelProperty(value = "产能效率%/H")
    private double productivityEfficiency;

    @ApiModelProperty(value = "交货日期")
    private Date deliveryDate;

    @ApiModelProperty(value = "客户")
    private String customer;

    @ApiModelProperty(value = "计划数量")
    private int planNum;

    @ApiModelProperty(value = "交货延天")
    private int deliveryDelay;

    private int rank;


}
